package com.cvit.dao;

import com.cvit.model.SchoolMajor;
import com.cvit.model.SchoolMajorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchoolMajorMapper {
    
	long countByExample(SchoolMajorExample example);

    int deleteByExample(SchoolMajorExample example);

    int deleteByPrimaryKey(String id);

    int insert(SchoolMajor record);

    int insertSelective(SchoolMajor record);

    List<SchoolMajor> selectByExample(SchoolMajorExample example);
    
    List<SchoolMajor> selschool();
    
    List<SchoolMajor> selmajor(String school);

    SchoolMajor selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SchoolMajor record, @Param("example") SchoolMajorExample example);

    int updateByExample(@Param("record") SchoolMajor record, @Param("example") SchoolMajorExample example);

    int updateByPrimaryKeySelective(SchoolMajor record);

    int updateByPrimaryKey(SchoolMajor record);

}